package com.community.body.service;

import com.community.body.domain.ZyComplaintSuggest;
import com.community.body.dto.ComplaintSuggestDTO;
import com.community.body.vo.EchartsVo;

import java.util.List;


/**
 * 投诉建议 Service接口
 * 
 * @author community
 * @date 2024-04-16
 */
public interface IZyComplaintSuggestService 
{
    /**
     * 查询投诉建议 
     * 
     * @param complaintSuggestId 投诉建议 主键
     * @return 投诉建议 
     */
    public ZyComplaintSuggest selectZyComplaintSuggestByComplaintSuggestId(Long complaintSuggestId);

    /**
     * 查询投诉建议 列表
     * 
     * @param complaintSuggestDTO 投诉建议
     * @return 投诉建议 集合
     */
    public List<ComplaintSuggestDTO> selectZyComplaintSuggestList(ComplaintSuggestDTO complaintSuggestDTO);

    /**
     * 新增投诉建议 
     * 
     * @param zyComplaintSuggest 投诉建议 
     * @return 结果
     */
    public int insertZyComplaintSuggest(ZyComplaintSuggest zyComplaintSuggest);

    /**
     * 修改投诉建议 
     * 
     * @param zyComplaintSuggest 投诉建议 
     * @return 结果
     */
    public int updateZyComplaintSuggest(ZyComplaintSuggest zyComplaintSuggest);

    /**
     * 批量删除投诉建议 
     * 
     * @param complaintSuggestIds 需要删除的投诉建议 主键集合
     * @return 结果
     */
    public int deleteZyComplaintSuggestByComplaintSuggestIds(Long[] complaintSuggestIds);

    /**
     * 删除投诉建议 信息
     * 
     * @param complaintSuggestId 投诉建议 主键
     * @return 结果
     */
    public int deleteZyComplaintSuggestByComplaintSuggestId(Long complaintSuggestId);

    List<EchartsVo> getStatusList(ComplaintSuggestDTO complaintSuggestDTO);
}
